package hjnu.dao;

import hjnu.User;

import java.util.List;

public interface Userdao {
    public boolean adduser(User user);
    public boolean deleteUserById(int id);
    public boolean updateUserById(User user);
    public User queryUserByUserNameAndPassword(String username,String password);
    public List<User> getAll();
}
